package com.example.zzl.view.fragment.ShareOrderFragment;

import android.app.Fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.zzl.R;

/**
 * Created by Administrator on 2017/2/8.
 */

public class NewShareFragment extends Fragment {
    public static NewShareFragment getFragment(String type){
        NewShareFragment fragment=new NewShareFragment();
        Bundle bundle=new Bundle();
        bundle.putString("type",type);
        fragment.setArguments(bundle);
        return fragment;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view=inflater.inflate(R.layout.suipian,null);
        return view;
    }
}
